package org.piaohao.howtodoit.helloworld;

import com.jfinal.core.Controller;
import com.jfinal.kit.PropKit;
import org.piaohao.fast.jfinal.Bootstrap;

public class MainApp extends Controller {

    public void index() {
        setAttr("version", PropKit.get("version"));
        setAttr("who", getPara("who","world"));
        render("index.html");
    }

    public static void main(String[] args) {
        Bootstrap.run(args);
    }
}
